package com.iepacj.concurrency.ch4.one;

import java.util.concurrent.TimeUnit;

/**
 * Created by iEpac on 16/4/23.
 */
public class SleepUtils {

    public static final void second(long seconds) {

        try {
            // System.out.println("sleep:::" + Thread.currentThread().getName());
            TimeUnit.SECONDS.sleep(seconds);
        } catch (InterruptedException e) {
            e.printStackTrace();
            // Thread.interrupted();
        }

    }

}
